import cv2

src = cv2.imread("./img/test.png")
logo = cv2.imread("./img/logo.png")

# 获取logo图像的高、宽、通道数量
h, w, c = logo.shape

src[-h:, -w:, :] = cv2.bitwise_or(src[-h:, -w:, :], logo)

cv2.imshow("result", src)
cv2.waitKey(0)
